<?php print '<?xml version="1.0" encoding="UTF-8"?>'?>
<simpleviewergallery 
	maxImageWidth="800"
	maxImageHeight="800"
	textColor="0xFFFFFF"
	frameColor="0xFFFFFF"
	frameWidth="5"
	stagePadding="10"
	navPadding="10"
	thumbnailColumns="3"
	thumbnailRows="3"
	navPosition="left"
	vAlign="center"
	hAlign="center"
	title="<?php print $this->escape($this->row['description'])?>"
	enableRightClickOpen="true"
	backgroundImagePath=""
	imagePath="upload/gallery/preview/"
	thumbPath="upload/gallery/thumb/">
<?php foreach ((array)$this->rowset as $row):?>
<image>
   <filename><?php print $this->escape($row['image'])?></filename>
   <caption><![CDATA[<?php print @$row['description']?>]]></caption>
</image>
<?php endforeach;?>
</simpleviewergallery >